package cn.wolfcode.crm.service;

import java.util.List;

import com.github.pagehelper.PageInfo;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.query.QueryObject;

public interface IDepartmentService {
	void saveOrUpdate(Department entity);
	Department get(Long id);
	PageInfo<Department> list(QueryObject qo);
	void delete(Long id);
	List<Department> listNotPage(QueryObject qo);
	
	List<Department> selectAll(QueryObject qo);
}
